<div class="app-container with-navbar with-tabbar" ng-controller="AddressSelectController">

    <div class="navbar fixed-top">
        <div class="navbar-left hide-weixin" ng-click="goBack()">
            <img class="button-icon" src="image/nav-left.png"/>
            <div class="button-text">返回</div>
        </div>
        <div class="navbar-title">
          选择地址
        </div>
        <div class="navbar-right">
        </div>
    </div>

    <div class="app-content">

      <!-- Address -->
      <div class="address-list" ng-if="addressSelectModel.addList && addressSelectModel.addList.length">
        <div class="list-item" ng-class="{active: selectedId == address.address_id}" ng-repeat="address in addressSelectModel.addList track by $index" ng-click="touchConsignee(address)">
          <div class="item-checkbox"></div>
          <div class="item-info">
            <div class="info-contact">
              {{address.receiver_name}} {{address.mobile}}
              <!--<span class="contact-default" ng-if="address.is_default">默认</span>-->
            </div>
            <div class="info-detail">
              {{address.province}}
              {{address.city}}
              {{address.district}}
              {{address.full_address}}
            </div>
            <div class="submit-select" ng-class="{active: isDefaultAddress(address)}" ng-click="touchDefaultAddress(address.address_id)">
                <div class="select-checkbox">
                </div>
                设置默认
           </div>
          </div>

          <div class="item-edit" ng-click="touchModify(address)">
            <img src="image/ind-edit.png"/>
          </div>
        </div>
      </div>

      <div class="address-bar fixed-bottom">
        <div class="bar-create" ng-click="touchCreate()">
          添加收货地址
        </div>
      </div>

    </div>

</div>
